import request from '@/utils/request'

// 查询EduSchool列表
export function listEduSchool(query) {
return request({
url: '/api/v1/storeList',
method: 'get',
params: query
})
}

// 查询EduSchool详细
export function getEduSchool (schoolId) {
return request({
url: '/api/v1/store/' + schoolId,
method: 'get'
})
}


// 新增EduSchool
export function addEduSchool(data) {
return request({
url: '/api/v1/store',
method: 'post',
data: data
})
}

// 修改EduSchool
export function updateEduSchool(data) {
return request({
url: '/api/v1/store',
method: 'put',
data: data
})
}

// 删除EduSchool
export function delEduSchool(schoolId) {
return request({
url: '/api/v1/store/' + schoolId,
method: 'delete'
})
}

